package com.trust.pams.dao.service;

import com.chasonx.common.model.PageResult;
import com.mongodb.client.result.DeleteResult;
import com.trust.pams.dto.PamsClientDto;
import com.trust.pams.dto.PamsMilestoneDto;
import com.trust.pams.model.query.PamsClientQuery;
import com.trust.pams.model.query.PamsMilestoneQuery;

import java.util.List;

public interface PamsMilestoneDao {

    int batchPamsMilestone(List<PamsMilestoneDto> pamsMilestoneDtos);

    DeleteResult deletePamsMilestone(String projectId);

    List<PamsMilestoneDto> getPamsMilestone(String projectId);

    List<PamsMilestoneDto> getPamsMilestones(String projectId);

    List<PamsMilestoneDto> getConditionMilestone(String projectId,String key);

    PageResult<PamsMilestoneDto> listPamsMilestone(PamsMilestoneQuery pamsMilestoneQuery);

}
